@import "variable";
//@import "../../dist/css/sprite";


//首页头部
.header{
  position: relative;
  height: 175px;
  background: url("../images/header-bg.png") no-repeat center;
  background-size: 100% 100%;
  padding-top: 40px;
  .user-img{
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    >img{
      width: 72px;
      height: 72px;
    }
  }
  .user-name{
    font-size: 14px;
    text-align: center;
    margin: 8px 0 5px;
  }
  .user-info{
    display: flex;
    justify-content: center;
    font-size: 12px;
    line-height: 0;

    .safe{
      line-height: 14px;
      flex: 1;
      .safe-level{
        margin-left: 10px;
      }
    }
  }
}


.nav-bar{
  position: relative;
  text-align: center;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #4d73bc;
  .nav-btn{
    position: absolute;
    left: 15px;
    top: 10px;
    >i{
      display: block;
      width: 18px;
      height: 3px;
      background-color: #fff;
      margin: 3px 0;
      border-radius: 2px;
    }
  }
}


.certification{
  line-height: 1;
  flex: 1;
  text-align: right;
}
.cert-no-icon,.cert-yes-icon{
  display: inline-block;
  width: 16px;
  height: 14px;
  background: url("../images/certification-no.png") no-repeat center;
  background-size: 16px 14px;
  vertical-align: middle;
}
.cert-yes-icon{
  background: url("../images/certification-yes.png") no-repeat center;
  background-size: 16px 14px;
}
.cert-text,.cert-text-no{
  vertical-align: middle;
  margin: 0 10px 0 5px;
}
.cert-text-no{
  color: #aaa;
}

//首页九宫格
.user-opt{
  //margin-top: 10px;
  background-color: #fff;
  .weui-grid{
    padding: 15px 20px;
  }
  .user-opt-badge{
    position: absolute;
    top: 5px;
    right: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 2px;
    line-height: 18px;
    text-align: center;
    font-size: 12px;
    border-radius: 9px;
    background-color: @red;
    color: #fff;
  }
  >a>i{
    display: block;
    margin: 0 auto 5px;
    width: 35px;
    height: 30px;
  }
  .index-1{
    background: url("../images/index-1.png") no-repeat center;
    background-size: 28px 26px;
  }
  .index-2{
    background: url("../images/index-2.png") no-repeat center;
    background-size: 28px 28px;
  }
  .index-3{
    background: url("../images/index-3.png") no-repeat center;
    background-size: 27px 24px;
  }
  .index-4{
    background: url("../images/index-4.png") no-repeat center;
    background-size: 28px 28px;
  }
  .index-5{
    background: url("../images/index-5.png") no-repeat center;
    background-size: 28px 28px;
  }
  .index-6{
    background: url("../images/index-6.png") no-repeat center;
    background-size: 27px 28px;
  }
}
